home *** CD-ROM | disk | FTP | other *** search
- Path: bmecg.bme.ohio-state.edu!xiaoyi
- From: xiaoyi@bmecg.bme.ohio-state.edu (Xiaoyi Wu)
- Newsgroups: comp.lang.c
- Subject: Re: qsort help
- Date: 3 Jan 1996 14:15:27 GMT
- Organization: Biomedical Engineering OSU
- Distribution: world
- Message-ID: <4ce31v$c50@charm.magnus.acs.ohio-state.edu>
- References: <4cdqus$j5i@sparcserver.lrz-muenchen.de> <4ccio7$7c0@charm.magnus.acs.ohio-state.edu> <4cdomq$jgt@dub-news-svc-5.compuserve.com>
- Reply-To: xiaoyi@bmecg.bme.ohio-state.edu (Xiaoyi Wu)
- NNTP-Posting-Host: bmecg.bme.ohio-state.edu
-
- My sincere thanks to all those who have responded to my question on
- qsort.
-
- So my mistake has been twofold: 1. int (*compar)() only declares a
- pointer to a function; 2. the parameters of compar should be
- const void * as documented in the man page of qsort.
-
- The program is already working, which wouldn't be possible without
- kind help from you all.
-
- Thanks again, and wish you a very happy new year!
-
- Xiaoyi
-
- /=======================================================================\
- | Xiaoyi Wu || If you can't convince them, confuse them. |
- | 614-421-0934 (h) || xiaoyi@mozart.bme.ohio-state.edu |
- | 614-292-1555 (o) || http://chopin.bme.ohio-state.edu/~xiaoyi/hi.html |
- \~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~/
-